package com.project.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * @ProjectName: 
 * @Package: 
 * @ClassName: 
 * @Author: ZhaoLongShi
 * @CreateDate: 
 */
@Data
@TableName(value = "`member`")
public class Member {
    /**
     * 会员ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 卡类别 0白金卡，1砖石卡，2黄金卡
     */
    @TableField(value = "card_type")
    private Integer cardType;

    /**
     * 注册时间
     */
    @TableField(value = "register_time")
    private Date registerTime;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    private Long phone;

    /**
     * 是否可用 0 不可用， 1可用
     */
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 消费金额
     */
    @TableField(value = "consumption")
    private Double consumption;

    /**
     * 余额
     */
    @TableField(value = "balance")
    private Double balance;

    /**
     * 是否删除 0删，1不删
     */
    @TableField(value = "is_del")
    private Integer isDel;

    public static final String COL_ID = "id";

    public static final String COL_USER_ID = "user_id";

    public static final String COL_USERNAME = "username";

    public static final String COL_CARD_TYPE = "card_type";

    public static final String COL_REGISTER_TIME = "register_time";

    public static final String COL_PHONE = "phone";

    public static final String COL_STATUS = "status";

    public static final String COL_CONSUMPTION = "consumption";

    public static final String COL_BALANCE = "balance";

    public static final String COL_IS_DEL = "is_del";
}